<template>
  <div class="demo">
    <h3>这是一个HelloWorld组件</h3>
    <p>显示pinia管理的参数:{{ store.count }}</p>
    <button @click="addValue">修改数据</button>
  </div>
</template>

<script setup>
import { userCourrentStore } from "../store/courrent";

let store = userCourrentStore();
console.log(store);

const addValue = () => {
  store.changeValue(1);
};
</script>

<style>
</style>
